// UniC10_Plugin_Sample.h : Haupt-Header-Datei für die Anwendung UNIC10_PLUGIN_SAMPLE
//

#if !defined(AFX_UNIC10_PLUGIN_SAMPLE_H__7731A3BE_2E08_4A87_ACF5_27AF4EF2399F__INCLUDED_)
#define AFX_UNIC10_PLUGIN_SAMPLE_H__7731A3BE_2E08_4A87_ACF5_27AF4EF2399F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// Hauptsymbole

typedef PWCHAR (__stdcall *TGetDLLVersion) ();
typedef void (__stdcall *TGetRegisteredReaderNames) (PWCHAR &readerNames);
typedef int (__stdcall *TIsPCSCReader) (PWCHAR readerName);
typedef int (__stdcall *TConnectReader) (PWCHAR readerName, BYTE comport, unsigned int baudrate, BYTE stopbits, BYTE databits, BYTE parity);
typedef int (__stdcall *TCheckReaderConnection) (void);
typedef void (__stdcall *TDisconnectReader) (void);
typedef int (__stdcall *TSearchCards) (PWCHAR transType, PWCHAR &transDesc);
typedef int (__stdcall *TPrepareCoding) (PWCHAR commXML, HWND codingCallback, HWND parent, int &estimatedCreationSteps, BYTE &hasCardID, PWCHAR &maxCardID, PWCHAR &varData);
typedef int (__stdcall *TGetLoadedCommissionTransType) (PWCHAR &transType);
typedef int (__stdcall *TReadLegicMaster) (void);
typedef int (__stdcall *TCheckLegicMasters) (PWCHAR &missingMasters);
typedef int (__stdcall *TGetCodingState) (void);
typedef int (__stdcall *TCode) (PWCHAR cardID, PWCHAR varData);
typedef int (__stdcall *TSleepAndCode) (PWCHAR cardID, PWCHAR varData, int searchSleep);
typedef int (__stdcall *TAbortCoding) (void);
typedef int (__stdcall *TGetLog) (LPARAM logHandle, PWCHAR &cardUID, int &createdDate, BYTE &codingResult, PWCHAR &shortDesc, PWCHAR &cardID, PWCHAR &varData);
typedef int (__stdcall *TFreeLog) (LPARAM logHandle);
typedef void (__stdcall *TFreeWideChar) (PWCHAR wideChar);
typedef int (__stdcall *TCheckRegistration) ();
typedef void (__stdcall *TClearRegistration) (void);
typedef int (__stdcall *TPerformRegistration) (HWND parent);
typedef void (__stdcall *TSetLanguage) (PWCHAR lang);
typedef PWCHAR (__stdcall *TGetCustomerCode) ();

/////////////////////////////////////////////////////////////////////////////
// CUniC10_Plugin_SampleApp:
// Siehe UniC10_Plugin_Sample.cpp für die Implementierung dieser Klasse
//

class CUniC10_Plugin_SampleApp : public CWinApp
{
public:
	CUniC10_Plugin_SampleApp();

// Überladungen
	// Vom Klassenassistenten generierte Überladungen virtueller Funktionen
	//{{AFX_VIRTUAL(CUniC10_Plugin_SampleApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementierung

	//{{AFX_MSG(CUniC10_Plugin_SampleApp)
		// HINWEIS - An dieser Stelle werden Member-Funktionen vom Klassen-Assistenten eingefügt und entfernt.
		//    Innerhalb dieser generierten Quelltextabschnitte NICHTS VERÄNDERN!
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.

#endif // !defined(AFX_UNIC10_PLUGIN_SAMPLE_H__7731A3BE_2E08_4A87_ACF5_27AF4EF2399F__INCLUDED_)
